package com.peas.platform.module.icims.budget.statistics.domain.impl;

import com.peas.platform.framework.mybatisplus.domain.BaseDomainImpl;
import com.peas.platform.framework.mybatisplus.repository.BaseRepository;
import com.peas.platform.module.icims.budget.statistics.adapter.repository.DepartmentPerformancePlanContentRepository;
import com.peas.platform.module.icims.budget.statistics.adapter.repository.po.DepartmentPerformancePlanContentPo;
import com.peas.platform.module.icims.budget.statistics.domain.DepartmentPerformancePlanContentDomain;
import com.peas.platform.module.icims.budget.statistics.dto.DepartmentPerformancePlanContentDto;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class DepartmentPerformancePlanContentDomainImpl extends BaseDomainImpl<DepartmentPerformancePlanContentDto, DepartmentPerformancePlanContentPo> implements DepartmentPerformancePlanContentDomain {

    @Resource
    private DepartmentPerformancePlanContentRepository departmentPerformancePlanContentRepository;

    @Override
    public BaseRepository<DepartmentPerformancePlanContentPo> getMapper() {
        return departmentPerformancePlanContentRepository;
    }

    @Override
    public Class<? extends BaseRepository<DepartmentPerformancePlanContentPo>> getRepositoryClass() {
        return DepartmentPerformancePlanContentRepository.class;
    }

}
